package com.edu.bean;

/**
 *  @Author:hwy
 *  @Date: 2024/9/20--19:45
 *  @Description:
 */
public class User {
    private int userId;

    private String userName;

    private String password;

    private String realName;

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    @Override
    public String toString() {
        return "User{" +
                "userId='" + userId + '\'' +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", realName='" + realName + '\'' +
                '}';
    }

    public User() {
    }

    public User( String userName, String password, String realName) {
        this.userName = userName;
        this.password = password;
        this.realName = realName;
    }

}
